﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.QixingManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2025-03-02 15:48
    /// 描 述：实体类
    /// </summary>
    [Table("goods_attribute_value")]
    public class GoodsAttributeValueEntity : BaseEntity
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? goods_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? attribute_id { get; set; }
        /// <summary>
        /// 手动添加规格或参数的值，参数单值，规格有多个时以逗号隔开
        /// </summary>
        /// <returns></returns>
        public string value { get; set; }

        public string attribute_name { get; set; }

        public string search_type { get; set; }
    }
}
